package com.atstudy.headline.web.app.mapper;

import com.atstudy.headline.entity.Comments;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author A
* @description 针对表【comments(内容评论表)】的数据库操作Mapper
* @createDate 2025-06-12 13:55:56
* @Entity com.atstudy.headline.entity.Comments
*/
public interface CommentsMapper extends BaseMapper<Comments> {

    //根据内容id查询评论列表
    List<Comments> getCommentsByContentId(Integer contentId);

}




